import request from '@/utils/request'
// 获取订单
export function getCustomerList(data) {
  return request({
    url: '/backe_customer_list',
    method: 'post',
    data
  })
}
export function getCustomerBlackList(data) {
  return request({
    url: '/backe_customer_black_list',
    method: 'post',
    data
  })
}
export function getCustomerPositionList(data) {
  return request({
    url: '/backe_customer_position_list',
    method: 'post',
    data
  })
}

// 获取订单
export function showMerchantList(customer_id) {
  return request({
    url: '/customer/showMerchantList/' + customer_id,
    method: 'get'
  })
}

export function updateCustomer(data) {
  return request({
    url: '/backe_customer_update',
    method: 'post',
    data
  })
}
export function createBlackList(data) {
  return request({
    url: '/backe_customer_black_add',
    method: 'post',
    data
  })
}
export function getDesc(data) {
  return request({
    url: '/customer/getDesc',
    method: 'post',
    data
  })
}
